home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
de
/
comm
/
isdn
/
3387
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
4KB
Path: avalon.softaware.com!usenet
From: Dan Kegel <dank@alumni.caltech.edu>
Newsgroups: de.comm.isdn
Subject: Re: An alle, die was von CAPI verstehen!
Date: Sat, 10 Feb 1996 09:42:59 -0800
Organization: SoftAware Inc. and JetCafe - Los Angeles, CA
Message-ID: <311CD923.55A3@alumni.caltech.edu>
References: <62W5mG$brZB@p0000104.admiral.berlinet.de>
NNTP-Posting-Host: marina-24.jovanet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mozilla 2.0 (Win95; I)
To: Philipp Rumpf <PH.RUMPF@admiral.berlinet.de>
Philipp Rumpf wrote:
> Ich m=F6chte aus QBASIC (Ja, ich h=F6re das Geschrei.) heraus CAPI-Funkti=
onen
> nutzen. Also bestellte ich mir in einer Mailbox eine CAPI-Beschreibung au=
f
> deutsch. Nachdem ich sie gelesen hatte, war ich viel schlauer. Nun mu=DFt=
e
> ich nur noch an die Schnittstelle 0xF1 ein API_REGISTER mit den Registern=
-
> moment, Registern! Wie mu=DF ich diese Register konfigurieren? Wie schaff=
e
> ich es mit PEEK, POKE, INP, OUT, DEF SEG Befehlen (Speicherlese-/schreib
> Interrupt/Schnittstellen-put/get), da=DF das CAPI mir gehorcht? =
>...
>Philipp Rumpf
Es waere sinnvoller, auf C oder Visual Basic zu umsteigen.
Fuer Visual Basic gibt's ganz schoene CAPI-Schnittstellen.
z.B.:
Visual ISDN Custom Control
Description
Visual ISDN provides CAPI based ISDN communications for your
application by allowing the transmission and reception of data through
an ISDN channel.
File Name
ISDN1.VBX
Object Type
ISDN
Remarks
Each Visual ISDN custom control provides access to one 64kbit
-B-channel. You can place up to eight Visual ISDN controls in your
application in order to broaden the usable bandwith or to connect to
several partners. Visual ISDN can not provide more logical channels
than physical channels are available, so if you want to access more
channels than your ISDN-controller supports, you have to use additional
controller cards and take care of correct installation of the ISDN CAPI
drivers.
Visual ISDN is completely controlled by seven properties that reflect
the ISDN-related actions and values. Beside these, Visual ISDN uses the
commonly known Visual Basic properties such as left, top, tag and so
on.
Properties Description
ISDNNumber Holds the number of your communications partner
EAZ The identifier of your computer on the ISDN-bus. This
identifier is identical to the
last digit of the number one has to call to reach your computer.
Action Acts as a trigger for various actions, e.g. listening for
incoming calls,
terminating a connection or starting a call.
SendBuffer Data written in this field is sent to the ISDN channel
ReceiveBuffer Holds data received from the ISDN channel
AutoDisconnect Activates and controles the intelligent line management =
feature
ConnectionStatus This property displays some informations about
the current connection status.
Distribution Note When you create and distribute applications that
use Visual ISDN, you should rename the file ISDN1RUN.VBX to ISDN1.VBX
and distribute that file. Your setup program should place the renamed
ISDN1RUN.VBX in the customers Microsoft Windows system subdirectory.
The Setup Kit included with Visual Basic provides tools to help you
write setup programs that install your applications correctly.
All of the properties for this control are listed in the following
table. Properties that apply only to this control or that require
special consideration when used with it are marked with an asterisk
(*). For documentation on the remaining properties see apendix A
Standard properties, events and methods in the custom control
reference.
*Action *ReceiveBuffer
*AutoDisconnect *ISDNNumber *SendBuffer
*ConnectionStatus Left Tag
*EAZ Name Top
All of the functions for this control are listed in the following
table. Functions, that apply only to this control or that require
special consideration when used with it are marked with an asterisk
(*).
=
*ReadISDN *WriteISDN
All of the events for this control are listed in the following table.
Events, that apply only to this control or that require special
consideration when used with it are marked with an asterisk (*).
=
*OnChargeCount *OnDataLoss
*OnConnect *OnDisconnect
*OnDataIn *OnSendStackEmpty